package com.ruoyi.net.mapper;

import com.ruoyi.net.domain.ElementBusiMtnChannelGrain;
import com.ruoyi.net.domain.ElementBusiMtnChannelGrainListVo;

import java.util.List;

/**
 * 网元-业务-MTN Channel-细粒度业务盘保护组Mapper接口
 * 
 * @author net
 * @date 2024-12-08
 */
public interface ElementBusiMtnChannelGrainMapper 
{
    /**
     * 查询网元-业务-MTN Channel-细粒度业务盘保护组
     * 
     * @param id 网元-业务-MTN Channel-细粒度业务盘保护组主键
     * @return 网元-业务-MTN Channel-细粒度业务盘保护组
     */
    public ElementBusiMtnChannelGrain selectElementBusiMtnChannelGrainById(String id);

    /**
     * 查询网元-业务-MTN Channel-细粒度业务盘保护组列表
     * 
     * @param elementBusiMtnChannelGrain 网元-业务-MTN Channel-细粒度业务盘保护组
     * @return 网元-业务-MTN Channel-细粒度业务盘保护组集合
     */
    public List<ElementBusiMtnChannelGrainListVo> selectElementBusiMtnChannelGrainList(ElementBusiMtnChannelGrain elementBusiMtnChannelGrain);

    /**
     * 新增网元-业务-MTN Channel-细粒度业务盘保护组
     * 
     * @param elementBusiMtnChannelGrain 网元-业务-MTN Channel-细粒度业务盘保护组
     * @return 结果
     */
    public int insertElementBusiMtnChannelGrain(ElementBusiMtnChannelGrain elementBusiMtnChannelGrain);

    /**
     * 修改网元-业务-MTN Channel-细粒度业务盘保护组
     * 
     * @param elementBusiMtnChannelGrain 网元-业务-MTN Channel-细粒度业务盘保护组
     * @return 结果
     */
    public int updateElementBusiMtnChannelGrain(ElementBusiMtnChannelGrain elementBusiMtnChannelGrain);

    /**
     * 删除网元-业务-MTN Channel-细粒度业务盘保护组
     * 
     * @param id 网元-业务-MTN Channel-细粒度业务盘保护组主键
     * @return 结果
     */
    public int deleteElementBusiMtnChannelGrainById(String id);

    /**
     * 批量删除网元-业务-MTN Channel-细粒度业务盘保护组
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteElementBusiMtnChannelGrainByIds(String[] ids);

    int deleteElementBusiMtnChannelGrainByMtnChannelId(String id);
}
